import * as api from "../service";

let base = {
  test: (params) => api.post('/api/home/getIndexClassProductList',params),


  home: () => api.post('/api/home/getIndexData'),
  getProductClassList: (params) => api.post('/api/productClass/getProductClassList',params),
  getProductClassTwoList: (params) => api.post('/api/productClass/getProductClassTwoList',params),
  getShopCarList: (params) => api.post('/api/shopCar/getShopCarList',params),
  deleteShipCar: (params) => api.post('/api/shopCar/deleteShipCar',params),
  getMemberInfo: (params) => api.post('/api/member/getMemberInfo',params),
  updateMemberInfo: (params) => api.post('/api/member/updateMemberInfo',params),
  getProductInfo: (params) => api.post('/api/product/getProductInfo',params),
  setShopCarList: (params) => api.post('/api/shopCar/setShopCarList',params),
  getOrderByMemberId: (params) => api.post('/api/order/getOrderByMemberId',params),
  getProductPrice: (params) => api.post('/api/product/getProductPrice',params),
  getShipFeeByBaiDu: (params) => api.post('/api/order/getShipFeeByBaiDu',params),
  buyNowProduct: (params) => api.post('/api/order/buyNowProduct',params),
  shopCarUpdate: (params) => api.post('/api/shopCar/shopCarUpdate',params),
  getShipFeeByArea: (params) => api.post('/api/order/getShipFeeByArea',params),
}

export default base;
